package com.goktech.olala.core.service;

import com.goktech.olala.server.pojo.customer.Customer;
import com.goktech.olala.server.pojo.customer.Login;

import java.util.List;

/**
 * @Classname IRegisterService
 * @Description TODO
 * @Date 2020/12/10 9:44
 * @Created by sanming
 */
public interface IRegisterService {

    int insert(Login record);

    List<Login> selectAll();

    Login selectUserAndPassword(String userName,String password);

    Login selectRegister(String email);

    Customer selectEmail(String email);

    int updateByPrimaryKey(Customer record);

    int updateEmail(String email,String loginName);
}
